class CreateShimInputs < ActiveRecord::Migration
  def self.up
    create_table :shim_inputs do |t|
      t.integer :shim_id, :null => false, :options => "CONSTRAINT fk_input_shim_id REFERENCES shims(id)"
      t.string :name, :null => false
      
      t.timestamps
    end
  end

  def self.down
    drop_table :shim_inputs
  end
end
